//
//  Adaptor.Login.swift
//  App_Login
//
//  Created by 蒋晨成 on 2021/12/30.
//

import Adaptor
import UIKit

extension Adaptor { enum Login {} }

extension Adaptor.Login {
    enum LoginView {}
    enum Verify {}
}

extension Adaptor.Login {
    static let background = LoginModular.color(name: "App.Background")
}

extension Adaptor.Login.LoginView {
    static let titleColor: UIColor = LoginModular.color(name: "App.Dark1")
    static let textColor: UIColor = LoginModular.color(name: "App.Login.TextColor")
    static let loginButtonBackgroundColor: UIColor = LoginModular.color(name: "App.Login.ButtonBackground")
    static let loginButtonTintColor: UIColor = LoginModular.color(name: "App.Login.ButtonTintColor")
    static let lineColor: UIColor = LoginModular.color(name: "App.Login.Line")
    static let sendButtonNormalBackgroundColor: UIColor = LoginModular.color(name: "App.Login.Primary")
    static let sendButtonDisableBackgroundColor: UIColor = LoginModular.color(name: "App.Login.Primary-")
    static let sendButtonNormalTitleColor: UIColor = LoginModular.color(name: "App.Light1")
    static let sendButtonDisableTitleColor: UIColor = LoginModular.color(name: "App.Light3")
}

extension Adaptor.Login.Verify {
    static let titleColor: UIColor = LoginModular.color(name: "App.Dark1")
    static let textColor: UIColor = LoginModular.color(name: "App.Dark2")
    static let normalLineColor: UIColor = LoginModular.color(name: "App.Dark1")
    static let selectedLineColor: UIColor = LoginModular.color(name: "App.Login.Primary")
    static let timeoutTextColor: UIColor = LoginModular.color(name: "App.Login.Primary")
}
